<!DOCTYPE html>
<div id="outline" style="outline: auto; width: 100px; height: 100px">
  <div id="child" style="width: 150px; height: 50px; background-color: red"></div>
</div>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
  child.style.width = '50px';
}
onload = runRepaintTest;
</script>
